"use strict";
const electron = require("electron");
const noMoney = async () => {
  await electron.ipcRenderer.invoke("noMoney");
};
const recNotVip = async () => {
  return await electron.ipcRenderer.invoke("recNotVip");
};
const showOk = () => {
  electron.ipcRenderer.invoke("showOk");
};
const showDetect = async () => {
  await electron.ipcRenderer.invoke("showDetect");
};
const commit = async () => {
  await electron.ipcRenderer.invoke("commit");
};
const scanDisk = () => {
  electron.ipcRenderer.invoke("scanDisk");
};
const stopScan = () => {
  electron.ipcRenderer.invoke("stopScan");
};
electron.contextBridge.exposeInMainWorld("app", {
  noMoney,
  recNotVip,
  showOk,
  showDetect,
  commit,
  scanDisk,
  stopScan
});
